﻿/*	Class			LiveSearch		Description		------						History			1.00	7/12/07		Created		To Do			------*/package tv.digitalfx{	public class LiveSearch	{		public var active:Boolean;		public var term:String;				public function LiveSearch ()		{			this.active			= false;						this.term			= "";		}						public function start ($searchFor:String):void		{						if (this.active)			{				this.term		+= $searchFor;			}			else			{				this.term		= $searchFor;			}						this.active			= true;		}						public function stop ():void		{			this.active			= false;		}						public function select ():void		{			trace				("Go to: " + this.term);						this.stop			();		}			}}